
package com.insigma.business.qrcode.soldier.service;


import com.insigma.business.qrcode.soldier.dto.PlacementSoldierAspirationBSearcher;
import com.insigma.business.qrcode.soldier.entity.PlacementSoldierAspirationDO;

import java.util.List;


public interface PlacementSoldierAspirationService {

   
    List<PlacementSoldierAspirationDO> search(final PlacementSoldierAspirationBSearcher innerSearcher);

    
    PlacementSoldierAspirationDO get(final String id);

    
    Integer insert(final PlacementSoldierAspirationDO placementSoldierAspiration);

    
    Integer update(final PlacementSoldierAspirationDO placementSoldierAspiration);

    
    Integer delete(final String id, final String modifierType, final String modifierId);

 int countBySoldier(String soldierId);

 List<PlacementSoldierAspirationDO> listBySoldier(String soldierId);

 List<PlacementSoldierAspirationDO> getByPositionId(String id);

 List<PlacementSoldierAspirationDO> getByPositionId(String id, String status);

 Integer batchDeleteBySoldierId(String soldierId,String modifierType,String modifierId);

    Integer countByPositionId(String positionId, String status);

 List<PlacementSoldierAspirationDO> listByIdCardNo(String idCardNo);

    List<PlacementSoldierAspirationDO> listByIdCardNoAndBatchId(String idCardNo, String batchId);

    List<PlacementSoldierAspirationDO> listByIdCardNoAndType(String idCardNo, String type);

    List<PlacementSoldierAspirationDO> listByBatchId(String batchId);

    List<PlacementSoldierAspirationDO> listByBatchId(String batchId, String status);

    Integer count(PlacementSoldierAspirationBSearcher bSearcher);

    PlacementSoldierAspirationDO getByPositionIdAndIdCardNo(String positionId, String idCardNo);

    PlacementSoldierAspirationDO getLastDeletedThroughAsp(String idCardNo);

    Integer updateCheckFlag(String placementId, String checkFlag);
}
